package cn.bxshey.entityModule.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 消息(Message)表实体类
 *
 * @作者：不想说话而已
 * @Date：2024/3/9 18:46
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("message")
public class Message {
    @TableId
    //消息唯一id    
    private String mId;

    //消息具体内容
    private String mContent;
    //消息类型id
    private String mTId;
    //发送时间
    private Date mTime;
    //所属用户id  0为群发
    private Long mUid;
    //发送者id
    private Integer mPid;
    //消息是否已读 0未读  1已读
    private Integer mRead;
}
